package com.example.zk1;

import com.example.mvp.model.IModel;
import com.example.mvp.presenter.BasePresenter;
import com.example.mvp.presenter.IPresenter;
import com.example.mvp.view.IView;
import com.example.net.RetrofitFactory;
import com.example.zk1.bean.AppBean;
import com.example.zk1.bean.LogBean;
import com.example.zk1.bean.RegBean;
import com.example.zk1.contract.LoginContract;

import java.util.HashMap;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface Api {

    @POST("developerRegister")
    Observable<AppBean> App(@QueryMap HashMap<String,String>map);

    @POST("registerUser")
    Observable<RegBean> Register(@QueryMap HashMap<String,String>map);

    @POST("loginUser")
    Observable<LogBean> Login(@QueryMap HashMap<String,String>map);



}
